import { SET_XHD_CONTRACT_DETAIL } from "../../Action/contract/xhdLoanDetail";

const initData = {};

const xhdLoanDetailReducer = (state = initData, { type, data }) => {
	switch (type) {
		case SET_XHD_CONTRACT_DETAIL:
			return {
				...state,
				xhdLoanContractDetail: data
			};
		default:
			return state;
	}
};

export default xhdLoanDetailReducer;
